package multiThreadTest.nucleicacidtest;

public class Main {
    public static void main(String[] args) {
        NucleicAcidDetectionPoint p1=new NucleicAcidDetectionPoint(1700,1000);
        NucleicAcidDetectionPoint p2=new NucleicAcidDetectionPoint(2300,1000);
        NucleicAcidDetectionPoint p3=new NucleicAcidDetectionPoint(2400,1000);
        NucleicAcidDetectionPoint p4=new NucleicAcidDetectionPoint(2200,1000);
        NucleicAcidDetectionPoint p5=new NucleicAcidDetectionPoint(2100,1000);
        NucleicAcidDetectionPoint p6=new NucleicAcidDetectionPoint(2200,1000);
        HumanTraffic humanTraffic=new HumanTraffic(0,500);
        humanTraffic.addPoint(p1).addPoint(p2).addPoint(p3).addPoint(p4).addPoint(p5).addPoint(p6);
        Reporter reporter=new Reporter(200,humanTraffic);
        reporter.addPoint(p1).addPoint(p2).addPoint(p3).addPoint(p4).addPoint(p5).addPoint(p6);
        p1.start();
        p2.start();
        p3.start();
        p4.start();
        p5.start();
        p6.start();
        humanTraffic.start();
        reporter.start();
    }
}
